package OOday02.HomeWork.Animal;

/**
 * @description: TODO
 * @author yumo
 * @version: 1.0
 * @date 2025/3/7 19:55
 */
public class SwimTest {
    public static void main(String[] args) {
        Dog dg = new Dog("小黑狗",1,"黑色");
        dg.eat();
        dg.swim();
        dg.lookHome();

        System.out.println("___________");

        Chick ck=new Chick("小花鸡",2,"白色");
        ck.eat();
        ck.drink();
        ck.layEggs();

        System.out.println("___________");

        Fish fh=new Fish("大鲤鱼",1,"金色");
        fh.eat();
        fh.swim();
        fh.drink();
    }
}
